// PackInterDlg.h : header file
//

#if !defined(AFX_PACKINTERDLG_H__ED49FC3B_7542_4835_BF08_D80299FD8AB7__INCLUDED_)
#define AFX_PACKINTERDLG_H__ED49FC3B_7542_4835_BF08_D80299FD8AB7__INCLUDED_
#include "Base.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CaughtDlg dialog

#include "SockHelper.h"
#include "FireWallDoc.h"
#include "FireWallView.h"
#include "RecordRulesDlg.h"
class CaughtDlg : public CDialog
{
// Construction
public:

	CaughtDlg(CFireWallDoc *doc,CFireWallView *view,CWnd* pParent = NULL);	// standard constructor
    CFireWallDoc *docs;
	CFireWallView *views;
	BOOL IsLog ;
	BOOL IsCaught;
	// Dialog Data
	//{{AFX_DATA(CCaughtDlg)
	enum { IDD = IDD_FIREWALL_CAUGHT };
	CButton	m_capBtn;
	CListCtrl	m_dataListCtrl;

	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPackInterDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	// Generated message map functions
	//{{AFX_MSG(CPackInterDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnDestroy();
	afx_msg void OnCapture();
	afx_msg void OnClickDatalist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClearrecord();
	afx_msg void OnLOG();
	afx_msg void OnAddRecordToRules();/////////
	afx_msg CString GeAppPath();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	void DeleteSavedBuf();
	static void OnRecvData(void* pTheOwner, char* pData, int totalLen);
	CSockHelper m_sh;
	CRITICAL_SECTION m_csList;

public:
	afx_msg void OnPaint();
	void CLoadImage(CString st1,int ID);

};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PACKINTERDLG_H__ED49FC3B_7542_4835_BF08_D80299FD8AB7__INCLUDED_)
 
